<div class="close">x</div>
<br>
<h1>Invoice Details</h1><br>

Net amount : <?=$totalmoney?><br>
Paid  amount : <?=$paidamount?><br>
Due amount  : <?=$dueamount?><br>

<br>

<div id="add_invoice_details">
        <h3>Add Invoice Details</h3><br>
        <div id="sf_admin_container">
        <div id="sf_admin_content">
                <div class="sf_admin_form">
                        <div>Product: <select id="invoicedetails_proid" name="invoicedetails[proid]">
                                                <?php
                                                foreach ($notinProducts as $product)
                                                {
                                                ?>
                                                        <option value="<?=$product->getId()?>"><?=$product?></option>
                                                <?php
                                                }
                                                ?>
                                                </select> </div>
                        <div>Quantity: <?=$form['totnumpro']?><span class="error">quantity must be number</span></div>
                        <div>Price     :  <?=$form['totalmoneyproduct']?><span class="error">price must be number</span></div>
                        Comment: <?=$form['comment']?><br>
                        <br>
<?=$form['_csrf_token']?>

                        <input type="hidden" id="invid" name="invoicedetails[invid]" value="<?=$invid?>" />
                        <input type="button" id="new" value="save" />
                </div>
        </div>
        </div>
</div>
